package com.by.core.utils;

import com.by.core.ex.BusinessException;

/**
 * @author Hzy
 * @version 1.0
 * @date 2025/4/10  11:43
 * @description
 * @since jdk11
 */
public class Assert {
    public static void isZero(int rs, String msg) {
        if (rs ==0) {
            throw new BusinessException(msg);
        }
    }
}
